Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > Japanese - 日本語 > XPages Extension Library Mobile Controls - 「Single Page Application」
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Community articleXPages Extension Library Mobile Controls - 「Single Page Application」
Added by ~Rebecca Fezresaster | Edited by ~Rebecca Fezresaster on October 4, 2012 | Version 4
expanded Abstract
collapsed Abstract
この記事では、XPages Extension Library Mobile Controls から SIngle Page Application コントロールを解説します。
Tags: Extension Library, Extension Library controls, XPages Extension Library Japan Project
ShowTable of Contents
HideTable of Contents
  • 1 Single Page Application コントロールの概説
  • 2 生成されるタグ
  • 3 Single Page Application のプロパティ

Single Page Application コントロールの概説

このコントロールは、モバイル Web ページ全体のコンテナです。XPage でモバイルページを作成する際に、ひとつの XPage に必ずこのコンテナが必要です。

生成されるタグ

このコントールのタグは xe:singlePageApp です。

<?xml version="1.0" encoding="UTF-8"?>

	<xp:view xmlns:xp="http://www.ibm.com/xsp/core"

	xmlns:xe="http://www.ibm.com/xsp/coreex">

	<xe:singlePageApp id="xpagesMobileApp">

	

	</xe:singlePageApp>

	</xp:view>

	

ひとつの XPage に最低でも一つ、そして複数のモバイルページを作成することができます。

以下の例は、XPage に 3 つのモバイルページをもつ例です。

	<xe:singlePageApp id="singlePageApp1" selectedPageName="appPage1">

	        <xe:appPage id="appPage1"></xe:appPage>

	        <xe:appPage id="appPage2"></xe:appPage>

	        <xe:appPage id="appPage3"></xe:appPage>

	</xe:singlePageApp>

	

この状態でブラウザからプリビューし、ページのソースを確認すると、モバイルアプリケーションに必要な viewport の設定や Dojo Mobile のリソースが取り込まれた状態でブラウザにレンダリングされているのが確認できます。

Single Page Application のプロパティ

このコントロールの selectPageName で最初に表示させるモバイルページの id を指定しなければなりません。

カテゴリ プロパティ 説明
基本 selectedPageName 最初に表示させるモバイルページの指定(必須)

 

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (5)
collapsed Versions (5)
Version Comparison     
VersionDateChanged by              Summary of changes
5Oct 4, 2012, 5:22:21 AM~Judy Desluader  
This version (4)Oct 4, 2012, 5:04:51 AM~Rebecca Fezresaster  
3Oct 4, 2012, 4:44:40 AM~Rebecca Fezresaster  
2Oct 4, 2012, 4:29:14 AM~Rebecca Fezresaster  
1Oct 4, 2012, 4:28:21 AM~Rebecca Fezresaster  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility